package com.aspose.cells;

class zbru extends zbz {
   zbru() {
      this.c(177);
   }

   void a(zbrr var1) {
      PivotField var2 = var1.c;
      this.a((short)(10 + zakq.e(var1.b)));
      this.c = new byte[this.d()];
      int var3 = var2.d == null ? 0 : var2.d.getCount();
      byte var4 = 0;
      short var5 = var1.a();
      int var6 = var2.m;
      if (var2.h()) {
         var6 |= 8;
      }

      System.arraycopy(com.aspose.cells.b.a.zc.a(var6), 0, this.c, var4, 2);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var5), 0, this.c, var4 + 2, 2);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var1.a), 0, this.c, var4 + 4, 2);
      System.arraycopy(com.aspose.cells.b.a.zc.a(var3 == 0 ? 0 : var3 + var5), 0, this.c, var4 + 6, 2);
      int var7 = var4 + 8;
      if (var1.b == null) {
         this.c[var7++] = -1;
         this.c[var7++] = -1;
      } else {
         System.arraycopy(com.aspose.cells.b.a.zc.a((short)var1.b.length()), 0, this.c, var7, 2);
         var7 += 2;
         int var10000 = var7 + zco.a(this.c, var7, var1.b);
      }

   }
}
